import React, { Children } from 'react';
import ReactDOM from 'react-dom';

import Tworef from './components/pages/Tworef/Tworef';
import Sings from './components/Home/Sings';
import Nav from './components/Nav';
import A from './components/pages/useContext/A';
import { BrowserRouter, Routes, Route, Link, NavLink, useRoutes } from "react-router-dom"

import "./App.css"
import Ro from './Router';
export default function App() {
    let Rout = useRoutes(Ro)
    return <React.Fragment>

        {/* <Homes></Homes> */}
        {/* <Refs></Refs> */}
        {/* <Sings></Sings> */}
        {/* <ToDoList></ToDoList> */}
        {/* <Heros /> */}
        {/* <Duanzi></Duanzi> */}
        {/* <A></A> */}
     <Nav></Nav>
        
      {Rout}
     

    </React.Fragment >
}

